Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings schema #76

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Settings schema #76

merged 1 commit into from
Aug 13, 2024

Conversation

kpal81xd
Copy link
Contributor

Created new schema method manager for settings

@kpal81xd kpal81xd added the enhancement New feature or request label Aug 13, 2024
@kpal81xd kpal81xd requested a review from marklundin August 13, 2024 14:22

if (obj[key].hasOwnProperty('$default')) {
if (obj[key].$scope === scope) {
result[key] = utils.deepCopy(obj[key].$default);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible to use globalThis.structuredClone() here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly but id rather add that to a different PR since theres multiple to change

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment to say structuredClone has not been around for very long (2022).

Copy link
Member

@marklundin marklundin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with comment

@kpal81xd kpal81xd merged commit b544667 into main Aug 13, 2024
2 checks passed
@kpal81xd kpal81xd deleted the settings-schema branch August 13, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants